<%@page import="itsm.isperp.framework.core.context.ContextHolder"%><%@ page
	language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>

<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%
	String path = request.getContextPath();
	String basePath = ContextHolder.getWebServerName(request);
%>

<div data-role="header" data-position="inline"
	class="ui-header ui-bar-a" role="banner">
	<h1 class="ui-title" role="heading" aria-level="1">1.输入单位名称</h1>
</div>
<div data-role="content" class="ui-content" role="main">

	<form method="post"
		action="<%=basePath%>api/wechat/setting/register2_2">
		<input type="hidden" name="openid" value="${openid}" />
		<div class="box">

			<c:choose>

				<c:when test="${success eq 0 }">
					<div class="input-row" style="color:red">
						<label>您的单位不存在，请重新输入</label>
					</div>

				</c:when>
				<c:otherwise>
					<div class="input-row">
						<label>请输入您的单位</label>
					</div>
				</c:otherwise>
			</c:choose>


			<div>
				<input type="text" value="${customerName }" name="customerName"
					placeholder="请输入您的单位名称" class="required">
			</div>
			<div>
				<button class="nui-mainbtn" type="submit"
					onclick="javascript:return $(form).valid();">提交</button>
			</div>

		</div>

	</form>

</div>
